/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.uniceub.sisapeti.persistence;

import br.uniceub.sisapeti.AutoIncrementArrayList;
import br.uniceub.sisapeti.persistence.entities.DatabaseMockData;
import br.uniceub.sisapeti.persistence.entities.ObjetivoNegocio;

/**
 *
 * @author PedroHugo
 */
public class DatabaseContainer {

    AutoIncrementArrayList<ObjetivoNegocio> objetivosNegocio = DatabaseMockData.getObjetvosNegocio();
    
    static DatabaseContainer container;
    
    public static DatabaseContainer getInstance()
    {
        if(container == null)
            container = new DatabaseContainer();
        
        return container;
    }
    
    private DatabaseContainer(){}
    
    public AutoIncrementArrayList<ObjetivoNegocio> getObjetivosNegocio() {
        
        return objetivosNegocio;
    }
}
